<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>{$head[title]}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta content="{$head[keywords]}" name="keywords" />
<meta content="{$head[description]}" name="description" />
<base href="{$SETTING[siteurl]}" />
<link href="{SKIN_PATH}skin/style.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" src="misc/config.js"></script>
<script language="JavaScript" src="misc/common.js"></script>
<script language="JavaScript" src="misc/jquery.min.js"></script>
<script language="JavaScript" src="misc/validator.js"></script>
</head>
<body>


<style type="text/css">
	.bg{ 
	background:url(sites/themes/yellowpage/bg.png) #E6EFEA no-repeat left top;
    height: 300px;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
	}
	.container{ background:#fff;}
	.container,.aside{ overflow:visible;}
	.container .aside{ overflow:visible;}
	.header{
		background:#C2D5BB; border-top-left-radius: 6px; border-top-right-radius: 6px; width:960px; margin:0 auto;
	}
	.toper{
		padding:5px; text-align:right; width:960px; margin:0 auto; height:30px;
	}
	.toper .logo{
		float:left; display:inline;
	}
	.toper #login, .toper #logined{
		float:right; display:inline; line-height:30px;
	}
	.header h1 {
		padding:20px 0 0 20px; font-size:30px; line-height:35px; font-family:Arial, Helvetica, sans-serif;
	}
	.header h2{padding:5px 0 0 20px;}
	 .header h4{padding:0px 0 20px 20px;}
	.avatar{
		margin-top:-50px; margin-left:25px; width:150px;
	}
	.avatar img{border:#ccc solid 1px; padding:4px; background:#fff;}
	.menu { height:auto; overflow:hidden; padding:0 20px;}
	.menu li{ float:left; display:inline; margin:0 1px 0 0; line-height:35px; background:#9FBC95; padding:0 10px;}
	.menu li.selected{ background:#fff;}
	.menu li.selected a{ color:#333;}
	.menu li a{ color:#fff;}
	.menu li a:hover{
		background:none;
	}
</style>

<div class="bg"></div>

<div class="toper">
	<a href="#" class="logo">
    	<img src="misc/logo-177x24.png"/>
    </a>
	<div id="login" style="display:">
        <a href="{SITE_URL}">首页</a> |  
        <a href="{url("?module=member&action=register")}">注册</a> |  
        <a href="{url("?module=member&action=login")}">登录</a>
    </div>
    <div id="logined" style="display:none">
    	<a href="{SITE_URL}">首页</a> |  
        <a href="{url("?module=$module&action=business")}">管理</a>
    </div>
</div>
<div class="header">
    <h1><a href="{url("?module=yellowpage&userid=$userid")}">{$companyname}</a></h1>
    <h2>永久地址：{SITE_URL}{url("?module=yellowpage&userid=$userid")}</h2>
    <h4>{html_entity_decode(str_cut(strip_tags($introduce),150,'...'))} &nbsp; [<a href="javascript:window.external.AddFavorite(window.location.href,'{$head[title]}')" rel="asidebar" title="{$head[title]}">加入收藏</a>] </h4>
 
    <ul class="menu">
        <li {if !$category || $category=='index'} class="selected" {/if}><a href="{url("?module=$module&action=web&userid=$userid")}"><span>首页</span></a></li>
        <li {if $category=='introduce'} class="selected" {/if}><a href="{url("?module=$module&action=web&category=introduce&userid=$userid")}"><span>公司介绍</span></a></li>
        <li {if $category=='news'} class="selected" {/if}><a href="{url("?module=$module&action=web&category=news&userid=$userid")}"><span>公司新闻</span></a></li>
        <li {if $category=='product'} class="selected" {/if}><a href="{url("?module=$module&action=web&category=product&userid=$userid")}"><span>产品展示</span></a></li>
        <li {if $category=='buy'} class="selected" {/if}><a href="{url("?module=$module&action=web&category=buy&userid=$userid")}"><span>商机</span></a></li>
        <li {if $category=='job'} class="selected" {/if}><a href="{url("?module=$module&action=web&category=job&userid=$userid")}"><span>人才招聘</span></a></li>
        <li {if $category=='certificate'} class="selected" {/if}><a href="{url("?module=$module&action=web&category=certificate&userid=$userid")}"><span>资质证书</span></a></li>
        <li {if $category=='guestbook'} class="selected" {/if}><a href="{url("?module=$module&action=web&category=guestbook&userid=$userid")}"><span>在线留言</span></a></li>
        <li {if $category=='contact'} class="selected" {/if}><a href="{url("?module=$module&action=web&category=contact&userid=$userid")}"><span>联系方式</span></a></li>
        
    </ul>
    <!--<div class="banner">
        <img src="{$banner}"/>
    </div>-->
</div>